package com.weiyuwqj.server.mapper;

import com.weiyuwqj.api.model.SysConfigTicketUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;
@Repository
public interface SysConfigTicketUserMapper extends Mapper<SysConfigTicketUser> {
    Object match(@Param("userId")Integer userId,@Param("ruleId") Integer ruleId);

    int insertBatch(List<SysConfigTicketUser> ticketUserList);

    List<SysConfigTicketUser> getList(Map map);


    Integer statTicketCount(Map map);
}